

#ifndef _SHELL_REQINHERITSUIT_MESSAGE_H_
#define _SHELL_REQINHERITSUIT_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqInheritSuitMessage : public Message
{
	public:
	ReqInheritSuitMessage();
	~ReqInheritSuitMessage();
	void reset();
	ReqInheritSuitMessage* clone();
	static const int _ID;
	//需要被继承的装备id
	int64 equipId;
	//继承的装备id
	int64 toequipId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
